package com.rimi.live.controller;


//import com.rimi.live.mapper.AdminMapper;
import com.rimi.live.service.IndexService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

import javax.annotation.Resource;
import java.util.List;

/**
 * @author luohengyi
 */
@Controller
@RequestMapping("/index")
public class IndexController {

    @Autowired
    private IndexService indexService;

    @RequestMapping("/index")
    public String index() {
        System.out.println(indexService.getAllUsers());
        System.out.println(1111112312);
        return "index/index";
    }

}
